#pragma once
#include "SoftWareNode.h"

class CSearchTabUI : public CVerticalLayoutUI, public INotifyUI
{
public:
	CSearchTabUI(CPaintManagerUI& pm);
	~CSearchTabUI(void);
	
	LPCTSTR GetWindowClassName() const { return _T("UISearchTab"); };
	UINT GetClassStyle() const { return UI_CLASSSTYLE_CONTAINER; };

//	CControlUI* CreateControl(LPCTSTR pstrClass);
	
	void  Init();

	virtual void Notify(TNotifyUI& msg);

	void AddElement(SOFTWARENODE* pstSoftNode);

	void RemoveAllElement();

private:
	CPaintManagerUI&  paint_manager_;
	CTileLayoutUI* m_pLayout;
};

